package com.tk.exam.vo.score;

import com.tk.exam.domain.TkStudentScore;

import java.util.Date;

public class TkStudentScoreExt extends TkStudentScore {
    public TkStudentScoreExt(UpStuScoreReq req,double onlineScore) {
        setId(req.getScoreId());
        setUpateTime(new Date());
        setOfflineSocre(req.getOfflineSocre());
        setTotalSocre(req.getOfflineSocre()+onlineScore);
    }
}
